package com.starhub.engine.generator.entity;

import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.HashSet;
import java.util.List;
import java.util.Set;

/**   
 * <p>说明： 自动生成需要的基本信息</P>
 * @version: v3.0.0
 * @author: cdy
 */
@AllArgsConstructor
@NoArgsConstructor
public class BasisInfo implements Serializable{
	private static final long serialVersionUID = 123123L;

	private String project;
	
	private String author;

	private String authorName;

	private String version;
	
	private String dbUrl;
	
	private String dbName;
	
	private String dbPassword;
	
	private String database;
	
	private String table;
	
	private String entityName;
	
	private String objectName;
	
	private String entityComment;
	
	private String createTime;
	
	private String agile;
	
	private String entityUrl;
	
	private String daoUrl;
	
	private String mapperUrl;
	
	private String serviceUrl;
	
	private String serviceImplUrl;
	
	private String abstractControllerUrl;
	
	private String bsControllerUrl;

	private String appControllerUrl;

	private String usControllerUrl;

	private String requestEntityUrl;

	private String requestEntityName;

	private String swaggerConfigUrl;

	private String idType;
	
	private String idJdbcType;
	
	private List<PropertyInfo> cis;
	private List<PropertyInfo> cisNoId;
	private List<PropertyInfo> cisRequest;

	private String isSwagger="true";

	private boolean isCoverFile;

	private String SYSJINHAO = "#";
	private String entityNameLower = "";
	private Set<String> pkgs = new HashSet<String>();

	public String getProject() {
		return project;
	}

	public void setProject(String project) {
		this.project = project;
	}

	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public String getAuthorName() {
		return authorName;
	}

	public void setAuthorName(String authorName) {
		this.authorName = authorName;
	}

	public String getVersion() {
		return version;
	}

	public void setVersion(String version) {
		this.version = version;
	}

	public String getDbUrl() {
		return dbUrl;
	}

	public void setDbUrl(String dbUrl) {
		this.dbUrl = dbUrl;
	}

	public String getDbName() {
		return dbName;
	}

	public void setDbName(String dbName) {
		this.dbName = dbName;
	}

	public String getDbPassword() {
		return dbPassword;
	}

	public void setDbPassword(String dbPassword) {
		this.dbPassword = dbPassword;
	}

	public String getDatabase() {
		return database;
	}

	public void setDatabase(String database) {
		this.database = database;
	}

	public String getTable() {
		return table;
	}

	public void setTable(String table) {
		this.table = table;
	}

	public String getEntityName() {
		return entityName;
	}

	public void setEntityName(String entityName) {
		this.entityName = entityName;
	}

	public String getObjectName() {
		return objectName;
	}

	public void setObjectName(String objectName) {
		this.objectName = objectName;
	}

	public String getEntityComment() {
		return entityComment;
	}

	public void setEntityComment(String entityComment) {
		this.entityComment = entityComment;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public String getAgile() {
		return agile;
	}

	public void setAgile(String agile) {
		this.agile = agile;
	}

	public String getEntityUrl() {
		return entityUrl;
	}

	public void setEntityUrl(String entityUrl) {
		this.entityUrl = entityUrl;
	}

	public String getDaoUrl() {
		return daoUrl;
	}

	public void setDaoUrl(String daoUrl) {
		this.daoUrl = daoUrl;
	}

	public String getMapperUrl() {
		return mapperUrl;
	}

	public void setMapperUrl(String mapperUrl) {
		this.mapperUrl = mapperUrl;
	}

	public String getServiceUrl() {
		return serviceUrl;
	}

	public void setServiceUrl(String serviceUrl) {
		this.serviceUrl = serviceUrl;
	}

	public String getServiceImplUrl() {
		return serviceImplUrl;
	}

	public void setServiceImplUrl(String serviceImplUrl) {
		this.serviceImplUrl = serviceImplUrl;
	}

	public String getAbstractControllerUrl() {
		return abstractControllerUrl;
	}

	public void setAbstractControllerUrl(String abstractControllerUrl) {
		this.abstractControllerUrl = abstractControllerUrl;
	}

	public String getBsControllerUrl() {
		return bsControllerUrl;
	}

	public void setBsControllerUrl(String bsControllerUrl) {
		this.bsControllerUrl = bsControllerUrl;
	}

	public String getAppControllerUrl() {
		return appControllerUrl;
	}

	public void setAppControllerUrl(String appControllerUrl) {
		this.appControllerUrl = appControllerUrl;
	}

	public String getUsControllerUrl() {
		return usControllerUrl;
	}

	public void setUsControllerUrl(String usControllerUrl) {
		this.usControllerUrl = usControllerUrl;
	}

	public String getRequestEntityUrl() {
		return requestEntityUrl;
	}

	public void setRequestEntityUrl(String requestEntityUrl) {
		this.requestEntityUrl = requestEntityUrl;
	}

	public String getRequestEntityName() {
		return requestEntityName;
	}

	public void setRequestEntityName(String requestEntityName) {
		this.requestEntityName = requestEntityName;
	}

	public String getSwaggerConfigUrl() {
		return swaggerConfigUrl;
	}

	public void setSwaggerConfigUrl(String swaggerConfigUrl) {
		this.swaggerConfigUrl = swaggerConfigUrl;
	}

	public String getIdType() {
		return idType;
	}

	public void setIdType(String idType) {
		this.idType = idType;
	}

	public String getIdJdbcType() {
		return idJdbcType;
	}

	public void setIdJdbcType(String idJdbcType) {
		this.idJdbcType = idJdbcType;
	}

	public List<PropertyInfo> getCis() {
		return cis;
	}

	public void setCis(List<PropertyInfo> cis) {
		this.cis = cis;
	}

	public List<PropertyInfo> getCisNoId() {
		return cisNoId;
	}

	public void setCisNoId(List<PropertyInfo> cisNoId) {
		this.cisNoId = cisNoId;
	}

	public List<PropertyInfo> getCisRequest() {
		return cisRequest;
	}

	public void setCisRequest(List<PropertyInfo> cisRequest) {
		this.cisRequest = cisRequest;
	}

	public String getIsSwagger() {
		return isSwagger;
	}

	public void setIsSwagger(String isSwagger) {
		this.isSwagger = isSwagger;
	}

	public boolean isCoverFile() {
		return isCoverFile;
	}

	public void setCoverFile(boolean coverFile) {
		isCoverFile = coverFile;
	}

	public String getSYSJINHAO() {
		return SYSJINHAO;
	}

	public void setSYSJINHAO(String SYSJINHAO) {
		this.SYSJINHAO = SYSJINHAO;
	}

	public String getEntityNameLower() {
		return entityNameLower;
	}

	public void setEntityNameLower(String entityNameLower) {
		this.entityNameLower = entityNameLower;
	}

	public Set<String> getPkgs() {
		return pkgs;
	}

	public void setPkgs(Set<String> pkgs) {
		this.pkgs = pkgs;
	}

	public BasisInfo(String project, String author, String version, String dbUrl, String dbName, String dbPassword,
					 String database, String createTime, String agile, String entityUrl, String daoUrl, String mapperUrl,
					 String serviceUrl, String serviceImplUrl, String bsControllerUrl, String appControllerUrl, String usControllerUrl
			, String isSwagger, boolean isCoverFile, String entityNameLower) {
		super();
		this.project = project;
		this.author = author;
		this.version = version;
		this.dbUrl = dbUrl;
		this.dbName = dbName;
		this.dbPassword = dbPassword;
		this.database = database;
		this.createTime = createTime;
		this.agile = agile;
		this.entityUrl = entityUrl;
		this.daoUrl = daoUrl;
		this.mapperUrl = mapperUrl;
		this.serviceUrl = serviceUrl;
		this.serviceImplUrl = serviceImplUrl;
		this.bsControllerUrl = bsControllerUrl;
		this.appControllerUrl = appControllerUrl;
		this.usControllerUrl = usControllerUrl;
		this.isSwagger=isSwagger;
		this.isCoverFile = isCoverFile;
		this.entityNameLower = entityNameLower;
	}
}
